package thread.test1BaseThread.domain;

public class MyThread3 implements Runnable {

	@Override
	public void run() {
		System.out.println("in run method");
		//test3
		try {
			for(int i=0;i<=5;i++){
				Thread.sleep(1000);
				System.out.println("MyThread3 run ---->"+i);
			}
		} catch (InterruptedException e) {
			System.out.println("thread is interrupted");
			e.printStackTrace();
		}
	}

}
